package typage;

import java.util.HashMap;

import ast.JmmFile;

public class Typing 
{
	private static Typing3 t3 ;
	private static Typing12 t2 ;
	
    public static HashMap<String ,Integer> file(JmmFile f) 
    {
    	t2 = new Typing12() ; t2.visit(f);
    	t3 = new Typing3() ;t3.visit(f);
    	return t3.table_cpt ;
    }

}
